import home from './home/router';
import authority from './authority/router';
import user from './user/router';
import loans from './loans/router';
import operation from './operation/router';
import protocol from './protocol/router';
import generalize from './generalize/router';

function getRouter(arry){
	let routers =[]
	arry.forEach((item)=>{
		routers = routers.concat(item);
	});
	return routers;
}
export default getRouter([home,authority,user,loans,operation,protocol,generalize]);